'use strict';
const db = uniCloud.database()
const coll = db.collection('user')
exports.main = async (event, context) => {
	let res = await coll.where({
		name:event.name,
		wwid:parseInt(event.wwid)
	}).get()
	return res
};
